<template>
   <div>
  <el-breadcrumb separator-class="el-icon-arrow-right" style="font-size: 16px;">
    <el-breadcrumb-item :to="{ path: '/' }" style="font-size: 35px">评论</el-breadcrumb-item>
  </el-breadcrumb>

  <el-divider></el-divider>

     <el-table :data="contentArr">
       <el-table-column type="index" label="id" width="150px"></el-table-column>
       <el-table-column label="评论用户"  width="200px">*****</el-table-column>
       <el-table-column label="内容" prop="comment" width="200px"></el-table-column>
       <el-table-column label="评论服务" prop="staffServer" width="200px"></el-table-column>
       <el-table-column label="商品名称" prop="goodsName" width="200px"></el-table-column>
     </el-table>
   </div>
</template>

<script>
import TokenAxios from "@/http/TokenAxios";
import tokenAxios from "@/http/TokenAxios";
import BaseUrl from "@/http/BaseUrl";

export default {
  methods: {
    userList(){
      debugger
      TokenAxios.get(BaseUrl.EVALUATION+"/evaluations/").then((response)=>{
        debugger
        if (response.data.stats=20000){
          debugger
          console.log(response.data.data)
          this.contentArr=response.data.data;
        }
      })
    },
  },

  data() {
    return {
      contentArr: [],
    }
  },
  mounted(){
    this.userList();
  }
}
</script>
